package com.mingqijia.gassafety.webserver.response;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * <p>
 *
 * @author wanghai
 * @since 2022-06-10
 */


@Data
public class ConsumerBindingHistoryResponse {

    @ApiModelProperty(value = "关联时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdAt;

    @ApiModelProperty("事件 0:解除关联, 1:关联")
    private Integer eventCode;
    private String event;

    @ApiModelProperty(value = "操作人编码")
    private String operationPersonCode;

    @ApiModelProperty(value = "操作人名称")
    private String operationPersonName;

    @ApiModelProperty(value = "设备号")
    private String iMEI;

    @ApiModelProperty(value = "安装位置")
    private String installationPosition;

    @ApiModelProperty(value = "安装日期")
    private String installDate;

    @ApiModelProperty(value = "工单编号")
    private String workerOrderId;

    @ApiModelProperty(value = "工单类型")
    private String orderType;

    @ApiModelProperty(value = "设备厂商")
    private String equipmentManufacturer;

    @ApiModelProperty(value = "设备类型")
    private String equipmentType;

    @ApiModelProperty(value = "设备型号")
    private String equipmentModel;

    @ApiModelProperty(value = "检测类型")
    private String detectionType;

    @ApiModelProperty(value = "运营商")
    private String operators;

    @ApiModelProperty(value = "通讯方式")
    private String communicationMode;

    @ApiModelProperty("模板二: 订单编号")
    private String outOrderCode;

    @ApiModelProperty("模板一: 渠道 1-手动关联, 2-时刻助手 3-时刻助手")
    private Integer bindChannelCode;
    private String bindChannel;

}
